import javax.swing.JFrame;


public class MainApp extends JFrame{
	public void createForm(){
		Board br = new Board();
		Thread th = new Thread(br);
		this.getContentPane().add(br);
		th.start();
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		this.setLocationRelativeTo(null);
		this.setSize(500, 400);
		this.setResizable(false);
		this.setVisible(true);
	}
	public static void main(String[] args) {
		MainApp main = new MainApp();
		main.createForm();
	}

}
